-- GENERATED SPELL FOR [Nemas the Arbiter] --


function spell0_17912(pUnit, Event) --@Repentance,n/a--
pUnit:FullCastSpellOnTarget(32779,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17912', 8251, 1)
end

function Sorts_17912(pUnit, Event)
local choix_sorts_17912 = math.random(0, 0)
if choix_sorts_17912 == 0 then
pUnit:RegisterEvent('spell0_17912', 1, 1)
end
end

function mob17912_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17912', math.random(1500, 3000), 1)
end

function mob17912_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17912_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17912_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17912, 1, 'mob17912_Action')
RegisterUnitEvent(17912, 2, 'mob17912_Leave')
RegisterUnitEvent(17912, 3, 'mob17912_Kill')
RegisterUnitEvent(17912, 4, 'mob17912_Die')
